

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: happyiu
 * Date: 2021-10-25
 * Time: 20:33
 */
public class TestDemo {

    public static void main(String[] args) {

        System.out.println("最大值是:"+Integer.MAX_VALUE);  // int 的最大值
        System.out.println("最小值是:"+Integer.MIN_VALUE);  // int 的最小值

        int maxValue = Integer.MAX_VALUE;
        System.out.println("最大值+1是:"+(maxValue+1));//最大值+1
    }
}
